package com.sinosoft.cloud.access.net;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;

import java.util.List;
import java.util.Map;

/**
 * cloud-netty
 *
 * @title: cloud-netty
 * @package: com.sinosoft.cloud.access.net
 * @author: yangming
 * @date: 2017/12/3 下午2:53
 */
@PropertySource(value = "classpath*:router.properties")
@ConfigurationProperties(prefix = "cloud.access")
public class ClientProperties {

    private Map<String, RouterProperties> router;


    public Map<String, RouterProperties> getRouter() {
        return router;
    }

    public void setRouter(Map<String, RouterProperties> router) {
        this.router = router;
    }
}
